using System;
using System.Collections;
using System.Web;
using Sedna.Core.Controller.Common;

namespace Sedna.Core.Controller
{
	/// <summary>
	/// Exception handler for subclasses of SednaException.
	/// Enables support for matching exceptions by their codes.
	/// </summary>
	public abstract class AbstractSednaExceptionHandler: AbstractExceptionHandler
	{
		private int exceptionCode;

		public int ExceptionCode
		{
			get { return exceptionCode; }
			set { exceptionCode = value; }
		}

		public AbstractSednaExceptionHandler()
		{
			exceptionType=typeof(SednaException);
		}

	}
}
